* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #f0f2f5;
    height: 100vh;
    overflow: hidden;
}

.page-container {
    display: flex;
    height: 100vh;
}

.left-section {
    flex: 1;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
}

.brand-content {
    text-align: center;
}

.brand-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 600;
}

.slogan {
    font-size: 1.2em;
    opacity: 0.9;
    letter-spacing: 2px;
}

.right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.welcome-text {
    color: #666;
    font-size: 16px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group i {
    position: absolute;
    left: 0;
    top: 12px;
    color: #999;
    font-size: 18px;
}

input {
    width: 100%;
    padding: 10px 0 10px 30px;
    border: none;
    border-bottom: 2px solid #eee;
    outline: none;
    font-size: 16px;
    transition: all 0.3s;
    background: transparent;
}

input:focus {
    border-bottom-color: #1890ff;
}

label {
    position: absolute;
    left: 30px;
    top: 10px;
    color: #999;
    transition: all 0.3s;
    pointer-events: none;
}

input:focus ~ label,
input:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #1890ff;
    left: 0;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-btn:hover {
    background: #40a9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

.login-btn i {
    transition: transform 0.3s;
}

.login-btn:hover i {
    transform: translateX(5px);
}

.error-message {
    color: #ff4d4f;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    min-height: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-container {
        flex-direction: column;
    }
    
    .left-section {
        flex: none;
        height: 200px;
        padding: 20px;
    }
    
    .brand-content h1 {
        font-size: 2em;
    }
    
    .right-section {
        flex: none;
        height: calc(100vh - 200px);
    }
    
    .login-box {
        padding: 20px;
    }
} 